package com.kaibes.web.security.config;

import java.util.List;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "kaibes.web.security", ignoreInvalidFields = true, ignoreUnknownFields = true)
public class SecurityProperties {

    private boolean closed;
    
	private List<SecurityWhiteMap> whiteList;
	
	public List<SecurityWhiteMap> getWhiteList() {
        return whiteList;
    }
	
	public void setWhiteList(List<SecurityWhiteMap> whiteList) {
        this.whiteList = whiteList;
    }

    public boolean isClosed() {
        return closed;
    }

    public void setClosed(boolean closed) {
        this.closed = closed;
    }
	
}
